package com.flmes.base.base.exception;

import com.flmes.base.base.result.ResultCode;
import lombok.Getter;

/**
 * 系统异常，业务流程外的异常
 * @Author: flmes
 * @Date: 2024/9/27 19:25
 */
public class SystemException extends RuntimeException {

  @Getter
  private ResultCode info;
  public SystemException(ResultCode info) {
    super(info.getDesc());
    this.info = info;
  }

}
